const router = require('express').Router();

router.get('/home', (req, res) => {
  const sign = "々灬讓ьц従來者β不可能従我身ょ發生，因為我倔所以我疼。";
  const arr = ['a', 'b', 'c', 'd'];
  const content = `
    <h1 style="color:red">你好这是富文本内容</h1>
  `
  const num = 10;
  res.render('home', {
    sign,
    arr,
    content,
    num
  });
})

router.post('/home', (req, res) => {
  res.send('home的post请求')
})


module.exports = router;